package com.Jin.mapper;

import com.Jin.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.List;

@Mapper
@Repository
public interface EmployeeMapper {


    //查询所有员工信息
    List<Employee> queryEmployee();

    //通过id查询
    Employee queryById(@RequestParam("Eid") int Eid);

    //通过链接查询
    Employee queryByUrl(@PathVariable("id") int id);

    //修改

    //删除

}
